<?php
header("content-type:text/html");
mysql_connect("127.0.0.1","root","root");
mysql_select_db("logistics");
$name=$_GET["name"];
$sql="select * from kehu where kehu.h_overname like '%$name'";
$res = mysql_query($sql);
$arr = array();
while($row=mysql_fetch_assoc($res)){
    array_push($arr,$row);
}
print_r(json_encode($arr));


?>